#pragma once

#include "stdafx.h"

#include "ISearcheableFile.h"
#include "IndexMap.h"

class IndexedTXTFile : public ISearcheableFile
{
	private:

	    IndexesToSearch& index;
		std::string filename;

	public: 

		IndexedTXTFile(std::string& filename, IndexesToSearch& index);
		~IndexedTXTFile();

	    std::set<std::string>* search(std::set<std::string>& wordSet, struct searchParameters params);

		
};